function TweenMaxTo(data1,data2,time,delay,update,calback)
{

    var _obj = {
        onUpdate : function()
        {

            update(data1);
    
        },
        onComplete:function()
        {
            calback && calback();
        },
        ease : Power1.inOut,
        delay : delay,
    }
    var target = Object.assign(_obj,data2);
    TweenMax.to(data1, time ,target);
}


export { TweenMaxTo };
